package com.dkd.entity.vo;

import com.dkd.config.constant.VmStatus;
import com.dkd.entity.ChannelEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Data
public class VmPageItemVo {
    private Long id;//售货机id
    private Integer vmType;//type_id
    private String innerCode;//售货机软编号
    private Long nodeId;//点位Id
    private Integer vmStatus;//售货机状态，0:未投放;1-运营;2-故障,3-撤机
    private List<ChannelEntity> channelEntityList;//售货机货道列表
    private String lastSupplyTime;//上次补货时间
    private Integer businessId;//商圈id
    private Long regionId;//所属区域Id
    private boolean fault;//是否故障
    private NodeItemVo nodeItemVo;//所属点位信息
    private RegionItemVo regionItemVo;//所属区域信息
    private VmItemTypeVo vmItemTypeVo;//售货机类型
    private String  ownerName;//合作商名称
    private VmStatus status;//设备故障状态
    private String createTime;//创建时间
}
